Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • mannaky 12 posts 60 karma points
    Sep 02, 2014 @ 08:56
    mannaky
    1

    [7.1.6] Cannot navigate in backend (ReferenceError: openLanguage is not defined)

    Hello,

    I cannot navigate in the Umbraco backend because I always get errors like:

    Error evaluating js callback from legacy tree node: ReferenceError: openLanguage is not defined
    Error evaluating js callback from legacy tree node: ReferenceError: openXslt is not defined
    Error evaluating js callback from legacy tree node: ReferenceError: openMacro is not defined

    I think the reason for this is a faulty call when I login:

    GET http://localhost:50148/umbraco/LegacyTreeJs?umb__rnd=7.1.6.715052997

    This call returns the following error:

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.presentation.Trees.TreeDefinition.CreateInstance() +61
       Umbraco.Web.Trees.LegacyTreeJavascript.<GetLegacyTreeJavascript>b__0(TreeDefinition treeDef) +38
       System.Linq.WhereSelectListIterator`2.MoveNext() +103
       System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +381
       System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
       Umbraco.Web.Trees.LegacyTreeJavascript.GetLegacyTreeJavascript() +193
       Umbraco.Web.Editors.BackOfficeController.LegacyTreeJs() +94
       lambda_method(Closure , ControllerBase , Object[] ) +80
       System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +59
       System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +434
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +60
       System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeSynchronousActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +50
       System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +75
       System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +44
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +139
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +102
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +49
       System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +126
       System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +323
       System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +323
       System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +323
       System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +44
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +139
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +102
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +50
       System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +68
       System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +184
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +136
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +56
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +40
       System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +40
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +47
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +151
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +59
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +40
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +44
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +47
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +151
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +59
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +40
       System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +39
       System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +39
       System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +45
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +47
       System.Web.Mvc.Async.WrappedAsyncResult`1.End() +151
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +59
       System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +40
       System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +40
       System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +38
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +578
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +157
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209

    I am running Umbraco 7.1.6. using IISExpress in Visual Studio 2010.

    Thank you very much for your help!

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Sep 02, 2014 @ 12:15
    Jeroen Breuer
    0

    Hello,

    You can report bugs here: http://issues.umbraco.org/dashboard#newissue=yes

    Jeroen

  • Roger 19 posts 57 karma points
    May 05, 2015 @ 15:48
    Roger
    1

    Hi all,

    I'm experiencing the same issue, version 7.2.1 as noted here: http://issues.umbraco.org/issue/U4-2554  reproducable if you create a new custom section, then remove, rename it or attempt to remove it and all references in the config files.

    Even if then restoring all Umbraco files back to what they were originally (I actually ended up doing a fresh clone from source control into a newly created folder) but stil go the same error.  Does anyone know if any of the custom dashboard stuff makes database changes?  

    The errors I get are:

    <my website>/umbraco/LegacyTreeJs?umb__rnd=7.2.1.1957848777

    Server Error in '/' Application.


    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.presentation.Trees.TreeDefinition.CreateInstance() +16
       System.Linq.WhereSelectListIterator`2.MoveNext() +243
       System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +535
       System.Linq.Enumerable.ToList(IEnumerable`1 source) +79
       Umbraco.Web.Trees.LegacyTreeJavascript.GetLegacyTreeJavascript() +235
       Umbraco.Web.Editors.BackOfficeController.LegacyTreeJs() +95
       lambda_method(Closure , ControllerBase , Object[] ) +42
       System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +269
       System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +38
       System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +119
       System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +452
       System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +452
       System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +452
       System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +15
       System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +33
       System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +240
       System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15

     

    If it helps, I get a lot of console errors from Angular JS:

    Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12 Error evaluating js callback from legacy tree node: ReferenceError: openUser is not defined(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12

    Could be those last two are the result of the DependencyHandler.axd continuing to error even after original files were restored

    Any help, gratefully received,

    Kind Regards,

    Roger Davies

  • Roger 19 posts 57 karma points
    May 05, 2015 @ 15:50
    Roger
    0

    Sorry to double post, not sure if the rest of the errors I see in the console are simply run-on errors as a result of the handler giving Exception, but when clicking all user section I get:

    Error evaluating js callback from legacy tree node: ReferenceError: openUser is not defined(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12

    DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12 Error evaluating js callback from legacy tree node: ReferenceError: openUser is not defined(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…VlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:732x.event.dispatch @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2y.handle @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2x.event.trigger @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2x.extend.each @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2x.fn.x.each @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2x.fn.extend.trigger @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2emitEvent @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…VlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:456scope.select @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…VlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:465(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:13(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:75e.$eval @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:14e.$apply @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:14(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:75x.event.dispatch @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2y.handle @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…cmVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:2

    DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12 Error evaluating js callback from legacy tree node: ReferenceError: openUserTypes is not defined(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12

    DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12 Error evaluating js callback from legacy tree node: ReferenceError: openUserPermissions is not defined(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmp…mVlTWVudS9BY3Rpb25OZXdSZWxhdGlvblR5cGUuanM7&t=Javascript&cdv=1957848777:12

     

Please Sign in or register to post replies

Write your reply to:

Draft